Eclipse JDT
Pre-release 3.0

Deprecated API

Deprecated Classes
org.eclipse.jdt.ui.JavaElementContentProvider
          use the StandardJavaElementContentProvider instead 
 

Deprecated Interfaces
org.eclipse.jdt.core.IBufferFactory
          Use WorkingCopyOwner instead 
org.eclipse.jdt.core.util.IClassFileDisassembler
          - should use ClassFileBytesDisassembler instead 
org.eclipse.jdt.core.ICodeCompletionRequestor
          Use an ICompletionRequestor instead 
org.eclipse.jdt.core.ICodeFormatter
          - should use org.eclipse.jdt.core.formatter.CodeFormatter instead (note: options have changed) 
org.eclipse.jdt.core.IWorkingCopy
          Use ICompilationUnitinstead 
 

Deprecated Fields
org.eclipse.jdt.core.compiler.IProblem.Annotation
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationDuplicateParamName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationDuplicateReturnTag
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationDuplicateThrowsClassName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidParamName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidSeeArgs
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidSeeHref
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidSeeReference
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidThrowsClass
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationInvalidThrowsClassName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMessagePrefix
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissing
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingParamName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingParamTag
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingReturnTag
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingSeeReference
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingThrowsClassName
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationMissingThrowsTag
            
org.eclipse.jdt.core.compiler.IProblem.AnnotationUnexpectedTag
            
org.eclipse.jdt.launching.JavaRuntime.ATTR_CMDLINE
          - use IProcess.ATTR_CMDLINE 
org.eclipse.jdt.ui.JavaUI.ATTR_CMDLINE
            
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN__FILE_COMMENTS
          New code template story: user can specify the new type code template. 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN__JAVADOC_STUBS
          Use CODEGEN_ADD_COMMENTS instead (Name is more precice). 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN__NON_JAVADOC_COMMENTS
          New code template story: user can specify the overriding method comment. 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX
          Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES) 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX
          Use setting from JavaCore preference store (key JavaCore. CODEASSIST_FIELD_SUFFIXES and CODEASSIST_STATIC_FIELD_SUFFIXES) 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX
          Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES) 
org.eclipse.jdt.ui.PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX
          Use JavaCore preference store (key JavaCore. CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES) 
org.eclipse.jdt.core.JavaCore.COMPILER_PB_INVALID_ANNOTATION
          TODO (frederic) remove after 3.0 M6 
org.eclipse.jdt.core.JavaCore.COMPILER_PB_INVALID_IMPORT
          - discontinued since turning off would violate language specs 
org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_ANNOTATION
          TODO (frederic) after 3.0 M6 
org.eclipse.jdt.core.JavaCore.COMPILER_PB_MISSING_JAVADOC
          TODO (frederic) remove after 3.0 M7 
org.eclipse.jdt.core.JavaCore.COMPILER_PB_UNREACHABLE_CODE
          - discontinued since turning off would violate language specs 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_ALT_SHIFT_HOVER
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_BOOKMARK_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_BOOKMARK_INDICATION_COLOR
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_CTRL_HOVER
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_CTRL_SHIFT_HOVER
          Will be removed in one of the next builds. 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_CURRENT_LINE
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_CURRENT_LINE_COLOR
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_DEFAULT_HOVER
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_LINE_NUMBER_RULER
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_LINE_NUMBER_RULER_COLOR
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_NO_HOVER_CONFIGURED_ID
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_NONE_HOVER
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_OVERVIEW_RULER
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_PRINT_MARGIN
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN
          as of 3.0 replaced by ExtendedTextEditorPreferenceConstants 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_PROBLEM_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_COLOR
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_SHIFT_HOVER
          Will soon be removed - replaced by PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_TASK_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_TASK_INDICATION_COLOR
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_UNKNOWN_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_UNKNOWN_INDICATION_COLOR
            
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_WARNING_INDICATION
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_WARNING_INDICATION_COLOR
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.ui.PreferenceConstants.EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER
          as of 3.0 replaced by MarkerAnnotationPreferences 
org.eclipse.jdt.core.IJavaElementDelta.F_CLASSPATH_REORDER
          Use F_REORDER instead. 
org.eclipse.jdt.core.JavaCore.FORMATTER_CLEAR_BLANK_LINES
            
org.eclipse.jdt.core.JavaCore.FORMATTER_COMPACT_ASSIGNMENT
            
org.eclipse.jdt.core.JavaCore.FORMATTER_NEWLINE_CONTROL
            
org.eclipse.jdt.core.JavaCore.FORMATTER_NEWLINE_ELSE_IF
            
org.eclipse.jdt.core.JavaCore.FORMATTER_NEWLINE_EMPTY_BLOCK
            
org.eclipse.jdt.core.JavaCore.FORMATTER_NEWLINE_OPENING_BRACE
            
org.eclipse.jdt.core.JavaCore.FORMATTER_SPACE_CASTEXPRESSION
            
org.eclipse.jdt.ui.actions.IJavaEditorActionDefinitionIds.INLINE_LOCAL_VARIABLE
          Use INLINE 
org.eclipse.jdt.ui.actions.JdtActionConstants.INLINE_TEMP
          Use INLINE 
org.eclipse.jdt.ui.text.IJavaColorConstants.JAVA_TYPE
          no longer used, use JAVA_KEYWORD instead 
org.eclipse.jdt.core.ElementChangedEvent.PRE_AUTO_BUILD
          - no longer used, such deltas are now notified during POST_CHANGE 
org.eclipse.jdt.ui.JavaElementLabelProvider.SHOW_CONTAINER
          Use SHOW_QUALIFIED or SHOW_ROOT instead 
org.eclipse.jdt.ui.JavaElementLabelProvider.SHOW_CONTAINER_QUALIFICATION
          Use SHOW_QUALIFIED instead 
org.eclipse.jdt.ui.actions.IJavaEditorActionDefinitionIds.SHOW_NEXT_PROBLEM
          as of 3.0 replaced by {@link org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds#GOTO_NEXT_ANNOTATION 
org.eclipse.jdt.ui.JavaElementLabelProvider.SHOW_POSTIFIX_QUALIFICATION
          SHOW_POST_QUALIFIED instead 
org.eclipse.jdt.ui.actions.IJavaEditorActionDefinitionIds.SHOW_PREVIOUS_PROBLEM
          as of 3.0 replaced by {@link org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds#GOTO_PREVIOUS_ANNOTATION 
org.eclipse.jdt.ui.actions.IJavaEditorActionDefinitionIds.TOGGLE_PRESENTATION
          as of 3.0 replaced by {@link org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds#TOGGLE_SHOW_SELECTED_ELEMENT_ONLY 
 

Deprecated Methods
org.eclipse.jdt.core.ICodeAssist.codeComplete(int, ICodeCompletionRequestor)
          - use codeComplete(int, ICompletionRequestor) instead TODO remove before 3.0 
org.eclipse.jdt.core.eval.IEvaluationContext.codeComplete(String, int, ICodeCompletionRequestor)
          - use codeComplete(String, int, ICompletionRequestor) instead TODO remove before 3.0 
org.eclipse.jdt.core.ToolFactory.createCodeFormatter()
          - should use #createCodeFormatter(Map) instead. Extension point is discontinued 
org.eclipse.jdt.core.ToolFactory.createDefaultClassFileDisassembler()
          - should use factory method creating ClassFileBytesDisassembler instead 
org.eclipse.jdt.core.ToolFactory.createDefaultCodeFormatter(Map)
          - use #createCodeFormatter(Map) instead 
org.eclipse.jdt.core.search.SearchEngine.createJavaSearchScope(IResource[])
          Use createJavaSearchScope(IJavaElement[]) instead 
org.eclipse.jdt.launching.SocketUtil.findUnusedLocalPort(String, int, int)
          Use findFreePort() instead. It is possible that this method can return a port that is already in use since the implementation does not bind to the given port to ensure that it is free. 
org.eclipse.jdt.debug.eval.IEvaluationResult.getErrors()
          use getErrorMessages() 
org.eclipse.jdt.debug.eval.ICompiledExpression.getErrors()
          use getErrorMessages() 
org.eclipse.jdt.ui.wizards.NewTypeWizardPage.getFileComment(ICompilationUnit)
          Instead of file templates, the new type code template specifies the stub for a compilation unit. 
org.eclipse.jdt.debug.core.IJavaExceptionBreakpoint.getFilters()
          Use getExclusionFilters() or getInclusionFilters() 
org.eclipse.jdt.ui.ITypeHierarchyViewPart.getInput()
          use getInputElement instead 
org.eclipse.jdt.core.dom.Statement.getLeadingComment()
          This feature was removed in the 2.1 release because it was only a partial, and inadequate, solution to the issue of associating comments with statements. Furthermore, AST.parseCompilationUnit did not associate leading comments, making this moot. Clients that need to access comments preceding a statement should use a scanner to reanalyze the source text immediately preceding the statement's source range. 
org.eclipse.jdt.core.IJavaProject.getPackageFragmentRoots(IClasspathEntry)
          Use IJavaProject#findPackageFragmentRoots instead 
org.eclipse.jdt.ui.text.JavaTextTools.getPartitionManagingPositionCategories()
          use TextUtilities.computePartitionManagingPositionCategories(IDocument) 
org.eclipse.jdt.core.IClasspathEntry.getResolvedEntry()
          - use JavaCore.getResolvedClasspathEntry(...) 
org.eclipse.jdt.core.JavaCore.getSharedWorkingCopies(IBufferFactory)
          - should use #getWorkingCopies(WorkingCopyOwner) instead 
org.eclipse.jdt.core.dom.Message.getSourcePosition()
          Use getStartPosition() instead. 
org.eclipse.jdt.core.IJavaModelStatus.getString()
          Use IStatus#getMessage instead 
org.eclipse.jdt.ui.wizards.NewTypeWizardPage.getTemplate(String, ICompilationUnit)
          Use getTemplate(String,ICompilationUnit,int) 
org.eclipse.jdt.ui.wizards.NewTypeWizardPage.getTypeComment(ICompilationUnit)
          Use getTypeComment(ICompilationUnit, String) 
org.eclipse.jdt.core.IClassFile.getWorkingCopy(IProgressMonitor, IBufferFactory)
          Use getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead 
org.eclipse.jdt.core.search.IJavaSearchScope.includesBinaries()
          Use SearchEngine.createJavaSearchScope(IJavaElement[]) with the package fragment roots that correspond to the binaries instead 
org.eclipse.jdt.core.search.IJavaSearchScope.includesClasspaths()
          Use SearchEngine.createJavaSearchScope(IJavaElement[]) with a java project instead 
org.eclipse.jdt.debug.core.IJavaExceptionBreakpoint.isInclusiveFiltered()
          Exception breakpoints can have a mixed set of filters and this method is maintained strictly for API backwards compatibility 
org.eclipse.jdt.core.JavaConventions.isOverlappingRoots(IPath, IPath)
          Overlapping roots are allowed in 2.1 
org.eclipse.jdt.ui.JavaElementSorter.isSorterProperty(Object, Object)
          Bug 22518. Method never used: does not override ViewerSorter#isSorterProperty(Object, String). Method could be removed, but kept for API compatibility. 
org.eclipse.jdt.ui.jarpackager.JarPackageData.logErrors()
          will be removed in final 2.0 
org.eclipse.jdt.ui.jarpackager.JarPackageData.logWarnings()
          will be removed in final 2.0 
org.eclipse.jdt.core.IType.newSupertypeHierarchy(IWorkingCopy[], IProgressMonitor)
          use #newSupertypeHierarchy(ICompilationUnit[], IProgressMonitor) instead 
org.eclipse.jdt.core.IType.newTypeHierarchy(IWorkingCopy[], IProgressMonitor)
          use #newTypeHierarchy(ICompilationUnit[], IProgressMonitor) instead 
org.eclipse.jdt.core.JavaCore.removeClasspathVariable(String)
          - use version with extra IProgressMonitor 
org.eclipse.jdt.ui.JavaUI.revealInEditor(IEditorPart, ISourceReference)
          use revealInEditor(IEditorPart, IJavaElement) instead 
org.eclipse.jdt.core.JavaCore.setClasspathVariable(String, IPath)
          - use API with IProgressMonitor 
org.eclipse.jdt.debug.core.IJavaExceptionBreakpoint.setFilters(String[], boolean)
          Exception breakpoints can have a mixed set of filters. Use setInclusiveFilters(String[] filters) or setExclusiveFilters(String[] filters) 
org.eclipse.jdt.core.search.IJavaSearchScope.setIncludesBinaries(boolean)
          Use SearchEngine.createJavaSearchScope(IJavaElement[]) with the package fragment roots that correspond to the binaries instead 
org.eclipse.jdt.core.search.IJavaSearchScope.setIncludesClasspaths(boolean)
          Use SearchEngine.createJavaSearchScope(IJavaElement[]) with a java project instead 
org.eclipse.jdt.ui.ITypeHierarchyViewPart.setInput(IType)
          use setInputElement instead 
org.eclipse.jdt.core.dom.Statement.setLeadingComment(String)
          This feature was removed in the 2.1 release because it was only a partial, and inadequate, solution to the issue of associating comments with statements. 
org.eclipse.jdt.ui.jarpackager.JarPackageData.setLogErrors(boolean)
          will be removed in final 2.0 
org.eclipse.jdt.ui.jarpackager.JarPackageData.setLogWarnings(boolean)
          will be removed in final 2.0 
org.eclipse.jdt.ui.text.JavaTextTools.setupDocument(IDocument)
          As of 3.0, replaced by JavaTextTools.setupJavaDocumentPartitioner(IDocument) 
org.eclipse.jdt.ui.text.JavaTextTools.setupDocument(IDocument, String)
          As of 3.0, replaced by JavaTextTools.setupJavaDocumentPartitioner(IDocument, String) 
 

Deprecated Constructors
org.eclipse.jdt.core.search.SearchEngine(IWorkingCopy[])
          use #SearchEngine(ICompilationUnit[]) instead 
 


Eclipse JDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.